ServiceStoreConfigCutoffConfig.fromJson constructor

ServiceStoreConfigCutoffConfig.fromJson(
  1. Map json_
)

Implementation

ServiceStoreConfigCutoffConfig.fromJson(core.Map json_)
  : this(
      localCutoffTime:
          json_.containsKey('localCutoffTime')
              ? ServiceStoreConfigCutoffConfigLocalCutoffTime.fromJson(
                json_['localCutoffTime']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      noDeliveryPostCutoff: json_['noDeliveryPostCutoff'] as core.bool?,
      storeCloseOffsetHours: json_['storeCloseOffsetHours'] as core.String?,
    );