GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor.fromJson constructor

GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor.fromJson(
  1. Map _json
)

Implementation

GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor.fromJson(core.Map _json)
    : this(
        imageUrl: _json.containsKey('imageUrl')
            ? _json['imageUrl'] as core.String
            : null,
        jobTitle: _json.containsKey('jobTitle')
            ? _json['jobTitle'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        sameAs: _json.containsKey('sameAs')
            ? _json['sameAs'] as core.String
            : null,
      );