Thread.fromMap constructor

Thread.fromMap(
  1. Map<String, Object?> obj
)

Implementation

Thread.fromMap(Map<String, Object?> obj)
    : id = obj['id'] as int,
      name = obj['name'] as String;