ThreadEventBody.fromMap constructor

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

Implementation

ThreadEventBody.fromMap(Map<String, Object?> obj)
    : reason = obj['reason'] as String,
      threadId = obj['threadId'] as int;