User.fromJson constructor

User.fromJson(
  1. Map json_
)

Implementation

User.fromJson(core.Map json_)
    : this(
        deletedUser: json_.containsKey('deletedUser')
            ? DeletedUser.fromJson(
                json_['deletedUser'] as core.Map<core.String, core.dynamic>)
            : null,
        knownUser: json_.containsKey('knownUser')
            ? KnownUser.fromJson(
                json_['knownUser'] as core.Map<core.String, core.dynamic>)
            : null,
        unknownUser: json_.containsKey('unknownUser')
            ? UnknownUser.fromJson(
                json_['unknownUser'] as core.Map<core.String, core.dynamic>)
            : null,
      );