GenerateIdTokenRequest.fromJson constructor

GenerateIdTokenRequest.fromJson(
  1. Map _json
)

Implementation

GenerateIdTokenRequest.fromJson(core.Map _json) {
  if (_json.containsKey("audience")) {
    audience = _json["audience"];
  }
  if (_json.containsKey("delegates")) {
    delegates = (_json["delegates"] as core.List).cast<core.String>();
  }
  if (_json.containsKey("includeEmail")) {
    includeEmail = _json["includeEmail"];
  }
}