GenerateEphemeralCertRequest.fromJson constructor

GenerateEphemeralCertRequest.fromJson(
  1. Map _json
)

Implementation

GenerateEphemeralCertRequest.fromJson(core.Map _json)
    : this(
        accessToken: _json.containsKey('access_token')
            ? _json['access_token'] as core.String
            : null,
        publicKey: _json.containsKey('public_key')
            ? _json['public_key'] as core.String
            : null,
        readTime: _json.containsKey('readTime')
            ? _json['readTime'] as core.String
            : null,
        validDuration: _json.containsKey('validDuration')
            ? _json['validDuration'] as core.String
            : null,
      );