toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'planId': planId,
    'planName': planName,
    'startTime': startTime,
    'startTimeFormatted': startTimeFormatted,
    'waitPeriodExpiryTime': waitPeriodExpiryTime,
    'expiryTime': expiryTime,
    'expiryTimeFormatted': expiryTimeFormatted,
    'proofOfPayment': proofOfPayment,
    'insuranceCertificate': insuranceCertificate,
    'status': status,
    'iconDark': iconDark,
    'iconLight': iconLight,
  };
}