ThreadReadState.fromJson constructor

ThreadReadState.fromJson(
  1. Map json_
)

Implementation

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