Thread.fromJson constructor

Thread.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Thread.fromJson(Map<String, dynamic> json) => Thread(
      updatedAt: json['updatedAt'] as String,
      content: json['content'] as String,
      uid: json['uid'] as String,
      objectId: json['objectId'] as String,
      createdAt: json['createdAt'] as String,
      status: json['status'] as String,
      deviceType: json['deviceType'] as String,
      contact: json['contact'] as String,
    );