User.fromJson constructor

User.fromJson(
  1. Map json_
)

Implementation

User.fromJson(core.Map json_)
    : this(
        accountIdentifier: json_.containsKey('accountIdentifier')
            ? json_['accountIdentifier'] as core.String
            : null,
        accountType: json_.containsKey('accountType')
            ? json_['accountType'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        managementType: json_.containsKey('managementType')
            ? json_['managementType'] as core.String
            : null,
        primaryEmail: json_.containsKey('primaryEmail')
            ? json_['primaryEmail'] as core.String
            : null,
      );