SiteVerificationWebResourceGettokenRequest.fromJson constructor Null safety

SiteVerificationWebResourceGettokenRequest.fromJson(
  1. Map _json
)

Implementation

SiteVerificationWebResourceGettokenRequest.fromJson(core.Map _json)
    : this(
        site: _json.containsKey('site')
            ? SiteVerificationWebResourceGettokenRequestSite.fromJson(
                _json['site'] as core.Map<core.String, core.dynamic>)
            : null,
        verificationMethod: _json.containsKey('verificationMethod')
            ? _json['verificationMethod'] as core.String
            : null,
      );