toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (closeTime != null) 'closeTime': closeTime!,
      if (closed != null) 'closed': closed!,
      if (endDate != null) 'endDate': endDate!,
      if (openTime != null) 'openTime': openTime!,
      if (startDate != null) 'startDate': startDate!,
    };