Resolve merge conflicts: README + ignore IDE files
This commit is contained in:
25
lib/models/demo_profile.dart
Normal file
25
lib/models/demo_profile.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
class DemoProfile {
|
||||
const DemoProfile({
|
||||
required this.name,
|
||||
required this.email,
|
||||
required this.password,
|
||||
required this.colonia,
|
||||
required this.routeId,
|
||||
});
|
||||
|
||||
final String name;
|
||||
final String email;
|
||||
final String password;
|
||||
final String colonia;
|
||||
final String routeId;
|
||||
|
||||
factory DemoProfile.fromJson(Map<String, dynamic> json) {
|
||||
return DemoProfile(
|
||||
name: json['name'].toString(),
|
||||
email: json['email'].toString(),
|
||||
password: json['password'].toString(),
|
||||
colonia: json['colonia'].toString(),
|
||||
routeId: json['routeId'].toString(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user