toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  "id": id,
  "reason": reason,
  "order_id": orderId,
  "created_at": createdAt?.toIso8601String(),
};