SecretOccurrence.fromJson constructor
SecretOccurrence.fromJson(
- Map json_
Implementation
SecretOccurrence.fromJson(core.Map json_)
: this(
kind: json_['kind'] as core.String?,
locations:
(json_['locations'] as core.List?)
?.map(
(value) => SecretLocation.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
statuses:
(json_['statuses'] as core.List?)
?.map(
(value) => SecretStatus.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);