AttestationOccurrence.fromJson constructor

AttestationOccurrence.fromJson(
  1. Map json_
)

Implementation

AttestationOccurrence.fromJson(core.Map json_)
    : this(
        jwts: json_.containsKey('jwts')
            ? (json_['jwts'] as core.List)
                .map((value) => Jwt.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : 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,
      );