toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
    "id": id == null ? null : id,
    "merchant_id": merchantId == null ? null : merchantId,
    "event": event == null ? null : event,
    "url": url == null ? null : url,
    "status": status == null ? null : status,
    "deleted_at": deletedAt,
    "created_at": createdAt == null ? null : createdAt!.toIso8601String(),
    "updated_at": updatedAt == null ? null : updatedAt!.toIso8601String(),
};