Actor.fromJson constructor

Actor.fromJson(
  1. Map json_
)

Implementation

Actor.fromJson(core.Map json_)
    : this(
        administrator: json_.containsKey('administrator')
            ? Administrator.fromJson(
                json_['administrator'] as core.Map<core.String, core.dynamic>)
            : null,
        anonymous: json_.containsKey('anonymous')
            ? AnonymousUser.fromJson(
                json_['anonymous'] as core.Map<core.String, core.dynamic>)
            : null,
        impersonation: json_.containsKey('impersonation')
            ? Impersonation.fromJson(
                json_['impersonation'] as core.Map<core.String, core.dynamic>)
            : null,
        system: json_.containsKey('system')
            ? SystemEvent.fromJson(
                json_['system'] as core.Map<core.String, core.dynamic>)
            : null,
        user: json_.containsKey('user')
            ? User.fromJson(
                json_['user'] as core.Map<core.String, core.dynamic>)
            : null,
      );