toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "token": token == null ? null : token,
      "cardNo": cardNo == null ? null : cardNo,
      "expiryDate": expiryDate == null ? null : expiryDate,
      "name": name == null ? null : name,
      "email": email == null ? null : email,
      "status": status == null ? null : status,
      "iconUrl": iconUrl == null ? null : iconUrl,
      "logoUrl": logoUrl == null ? null : logoUrl,
    };