Thread.fromJson constructor

Thread.fromJson(
  1. Map json_
)

Implementation

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