1234567891011121314151617181920212223242526272829 |
- class Horario {
- String id;
- String oficina_id;
- String dia_semana;
- String open_time;
- String close_time;
-
- Horario({this.id, this.oficina_id, this.dia_semana, this.open_time, this.close_time});
-
- factory Horario.allFromJson(Map<String, dynamic> json) {
- return Horario (
- id :json['id'] as String,
- oficina_id: json['oficina_id'] as String,
- dia_semana: json['dia_semana'] as String,
- open_time: json['open_time'] as String,
- close_time: json['close_time'] as String,
- );
- }
-
- factory Horario.infoFromJson(Map<String, dynamic> json) {
- return Horario (
- id :json['id'] as String,
- oficina_id: json['oficina_id'] as String,
- dia_semana: json['dia_semana'] as String,
- open_time: json['open_time'] as String,
- close_time: json['close_time'] as String,
- );
- }
- }
|