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_.containsKey('noDeliveryPostCutoff')
            ? json_['noDeliveryPostCutoff'] as core.bool
            : null,
        storeCloseOffsetHours: json_.containsKey('storeCloseOffsetHours')
            ? json_['storeCloseOffsetHours'] as core.String
            : null,
      );