fromJson method Null safety

MarkThreadResult fromJson(
  1. dynamic json
)

Implementation

static MarkThreadResult fromJson(dynamic json) {
  return MarkThreadResult(
      message: json["message"],
      statusCode: json["status_code"],
      tid: json["data"]);
}