GenericSignedAttestation.fromJson constructor
GenericSignedAttestation.fromJson(
- Map _json
Implementation
GenericSignedAttestation.fromJson(core.Map _json)
: this(
contentType: _json.containsKey('contentType')
? _json['contentType'] as core.String
: null,
serializedPayload: _json.containsKey('serializedPayload')
? _json['serializedPayload'] as core.String
: null,
signatures: _json.containsKey('signatures')
? (_json['signatures'] as core.List)
.map((value) => Signature.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);