toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id == null ? null : id,
"type": type,
"bank": bank == null ? null : bank,
"account_name": accountName == null ? null : accountName,
"account_type": accountType == null ? null : accountType,
"account_number": accountNumber == null ? null : accountNumber,
"routing_number": routingNumber == null ? null : routingNumber,
"account_limit": accountLimit,
"status": status == null ? null : status,
"account_owner_name":
accountOwnerName == null ? null : accountOwnerName,
"account_owner_email":
accountOwnerEmail == null ? null : accountOwnerEmail,
"account_owner_phone":
accountOwnerPhone == null ? null : accountOwnerPhone,
"created_at": createdAt == null ? null : createdAt!.toIso8601String(),
};