Actor.fromJson constructor

Actor.fromJson(
  1. Map json_
)

Implementation

Actor.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,
        googleSupport: json_.containsKey('googleSupport')
            ? json_['googleSupport'] as core.bool
            : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );