toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  final l$status = status;
  result$data['status'] = toJson$Enum$OpeningStatus(l$status);
  final l$hours = hours;
  result$data['hours'] = l$hours.map((e) => e.toJson()).toList();
  return result$data;
}