User.fromJson constructor

User.fromJson(
  1. Map _json
)

Implementation

User.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        emailAddress: _json.containsKey('emailAddress')
            ? _json['emailAddress'] as core.String
            : null,
      );