ResourcePolicySnapshotSchedulePolicySnapshotProperties.fromJson constructor

ResourcePolicySnapshotSchedulePolicySnapshotProperties.fromJson(
  1. Map json_
)

Implementation

ResourcePolicySnapshotSchedulePolicySnapshotProperties.fromJson(
    core.Map json_)
    : this(
        chainName: json_['chainName'] as core.String?,
        guestFlush: json_['guestFlush'] as core.bool?,
        labels:
            (json_['labels'] as core.Map<core.String, core.dynamic>?)?.map(
          (key, value) => core.MapEntry(
            key,
            value as core.String,
          ),
        ),
        storageLocations: (json_['storageLocations'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );