AccountSuspensionWarning.fromJson constructor
AccountSuspensionWarning.fromJson(
- Map _json
Implementation
AccountSuspensionWarning.fromJson(core.Map _json)
: this(
appealWindow: _json.containsKey('appealWindow')
? _json['appealWindow'] as core.String
: null,
state:
_json.containsKey('state') ? _json['state'] as core.String : null,
suspensionDetails: _json.containsKey('suspensionDetails')
? (_json['suspensionDetails'] as core.List)
.map<AccountSuspensionDetails>((value) =>
AccountSuspensionDetails.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);