Nessuna descrizione

Especialista.dart 925B

1234567891011121314151617181920212223242526272829303132
  1. class Especialista {
  2. String id;
  3. String oficina_id;
  4. String name;
  5. String specialty;
  6. String telephone;
  7. String email;
  8. Especialista({this.id, this.oficina_id, this.name, this.specialty, this.telephone, this.email});
  9. factory Especialista.allFromJson(Map<String, dynamic> json) {
  10. return Especialista (
  11. id :json['id'] as String,
  12. oficina_id: json['oficina_id'] as String,
  13. name: json['name'] as String,
  14. specialty: json['specialty'] as String,
  15. telephone: json['telephone'] as String,
  16. email: json['email'] as String,
  17. );
  18. }
  19. factory Especialista.infoFromJson(Map<String, dynamic> json) {
  20. return Especialista (
  21. id :json['id'] as String,
  22. oficina_id: json['oficina_id'] as String,
  23. name: json['name'] as String,
  24. specialty: json['specialty'] as String,
  25. telephone: json['telephone'] as String,
  26. email: json['email'] as String,
  27. );
  28. }
  29. }