ClientUser.fromJson constructor

ClientUser.fromJson(
  1. Map json_
)

Implementation

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