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