VerifyLocationRequest.fromJson constructor

VerifyLocationRequest.fromJson(
  1. Map json_
)

Implementation

VerifyLocationRequest.fromJson(core.Map json_)
    : this(
        context: json_.containsKey('context')
            ? ServiceBusinessContext.fromJson(
                json_['context'] as core.Map<core.String, core.dynamic>)
            : null,
        emailAddress: json_.containsKey('emailAddress')
            ? json_['emailAddress'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        mailerContact: json_.containsKey('mailerContact')
            ? json_['mailerContact'] as core.String
            : null,
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
        token: json_.containsKey('token')
            ? VerificationToken.fromJson(
                json_['token'] as core.Map<core.String, core.dynamic>)
            : null,
      );