KnownUser.fromJson constructor

KnownUser.fromJson(
  1. Map json_
)

Implementation

KnownUser.fromJson(core.Map json_)
    : this(
        isCurrentUser: json_.containsKey('isCurrentUser')
            ? json_['isCurrentUser'] as core.bool
            : null,
        personName: json_.containsKey('personName')
            ? json_['personName'] as core.String
            : null,
      );