toJson method

Map<String, dynamic> toJson()

Implementation

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