RotateChallengesRequest.fromJson constructor
RotateChallengesRequest.fromJson(
- Map json_
Implementation
RotateChallengesRequest.fromJson(core.Map json_)
: this(
accessToken: json_.containsKey('accessToken')
? json_['accessToken'] as core.String
: null,
keepExpiredRecords: json_.containsKey('keepExpiredRecords')
? json_['keepExpiredRecords'] as core.bool
: null,
recordsToAdd: json_.containsKey('recordsToAdd')
? (json_['recordsToAdd'] as core.List)
.map((value) => AcmeTxtRecord.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
recordsToRemove: json_.containsKey('recordsToRemove')
? (json_['recordsToRemove'] as core.List)
.map((value) => AcmeTxtRecord.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);