UserOwnedGrafeasNote.fromJson constructor

UserOwnedGrafeasNote.fromJson(
  1. Map json_
)

Implementation

UserOwnedGrafeasNote.fromJson(core.Map json_)
    : this(
        delegationServiceAccountEmail:
            json_.containsKey('delegationServiceAccountEmail')
                ? json_['delegationServiceAccountEmail'] as core.String
                : null,
        noteReference: json_.containsKey('noteReference')
            ? json_['noteReference'] as core.String
            : null,
        publicKeys: json_.containsKey('publicKeys')
            ? (json_['publicKeys'] as core.List)
                .map((value) => AttestorPublicKey.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );