toJson method Null safety

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'title': title,
      'id': id,
      'nextId': nextId,
      'lastId': lastId,
      'weight': weight,
      'imgUrl': imgUrl,
      'url': url,
      'description': description,
      'publishedTime': publishedTime,
      'expireTime': expireTime,
      'applicant': applicant,
      'application_id': expireTime,
      'reviewStatus': reviewStatus,
      'reviewDescription': reviewDescription,
      'tag': tags,
    };