GoogleAppsCardV1DateTimePicker.fromJson constructor

GoogleAppsCardV1DateTimePicker.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1DateTimePicker.fromJson(core.Map json_)
    : this(
        label:
            json_.containsKey('label') ? json_['label'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        onChangeAction: json_.containsKey('onChangeAction')
            ? GoogleAppsCardV1Action.fromJson(json_['onChangeAction']
                as core.Map<core.String, core.dynamic>)
            : null,
        timezoneOffsetDate: json_.containsKey('timezoneOffsetDate')
            ? json_['timezoneOffsetDate'] as core.int
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        valueMsEpoch: json_.containsKey('valueMsEpoch')
            ? json_['valueMsEpoch'] as core.String
            : null,
      );