1234567891011121314151617181920212223242526272829303132 |
- class Especialista {
- String id;
- String oficina_id;
- String name;
- String specialty;
- String telephone;
- String email;
-
- Especialista({this.id, this.oficina_id, this.name, this.specialty, this.telephone, this.email});
-
- factory Especialista.allFromJson(Map<String, dynamic> json) {
- return Especialista (
- id :json['id'] as String,
- oficina_id: json['oficina_id'] as String,
- name: json['name'] as String,
- specialty: json['specialty'] as String,
- telephone: json['telephone'] as String,
- email: json['email'] as String,
- );
- }
-
- factory Especialista.infoFromJson(Map<String, dynamic> json) {
- return Especialista (
- id :json['id'] as String,
- oficina_id: json['oficina_id'] as String,
- name: json['name'] as String,
- specialty: json['specialty'] as String,
- telephone: json['telephone'] as String,
- email: json['email'] as String,
- );
- }
- }
|