CreateSnapshotRequest.fromJson constructor

CreateSnapshotRequest.fromJson(
  1. Map json_
)

Implementation

CreateSnapshotRequest.fromJson(core.Map json_)
    : this(
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        subscription: json_.containsKey('subscription')
            ? json_['subscription'] as core.String
            : null,
      );