Attestor.fromJson constructor

Attestor.fromJson(
  1. Map json_
)

Implementation

Attestor.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        userOwnedGrafeasNote: json_.containsKey('userOwnedGrafeasNote')
            ? UserOwnedGrafeasNote.fromJson(json_['userOwnedGrafeasNote']
                as core.Map<core.String, core.dynamic>)
            : null,
      );