UserInfo.fromJson constructor

UserInfo.fromJson(
  1. Map json_
)

Implementation

UserInfo.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        email:
            json_.containsKey('email') ? json_['email'] as core.String : null,
      );