DenyMaintenancePeriod.fromJson constructor

DenyMaintenancePeriod.fromJson(
  1. Map json_
)

Implementation

DenyMaintenancePeriod.fromJson(core.Map json_)
    : this(
        endDate: json_.containsKey('endDate')
            ? Date.fromJson(
                json_['endDate'] as core.Map<core.String, core.dynamic>)
            : null,
        startDate: json_.containsKey('startDate')
            ? Date.fromJson(
                json_['startDate'] as core.Map<core.String, core.dynamic>)
            : null,
        time: json_.containsKey('time')
            ? TimeOfDay.fromJson(
                json_['time'] as core.Map<core.String, core.dynamic>)
            : null,
      );