ThreadsResponseBody.fromMap constructor

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

Implementation

ThreadsResponseBody.fromMap(Map<String, Object?> obj)
    : threads = (obj['threads'] as List)
          .map((item) => Thread.fromJson(item as Map<String, Object?>))
          .toList();