toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "category": category?.toMap(),
  "media": media?.toMap(),
  "txns": txns?.toMap(),
  "address": address?.toMap(),
  "wallet": wallet?.toMap(),
  "merchant": merchant?.toMap(),
  "bankAccount": bankAccount?.toMap(),
  "simCard": simCard?.toMap(),
  "nationalCardFront": nationalCardFront,
  "nationalCardBack": nationalCardBack,
  "birthCertificateFirst": birthCertificateFirst,
  "birthCertificateSecond": birthCertificateSecond,
  "birthCertificateThird": birthCertificateThird,
  "birthCertificateForth": birthCertificateForth,
  "birthCertificateFifth": birthCertificateFifth,
  "visualAuthentication": visualAuthentication,
  "eSignature": eSignature,
};