toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'public_id': publicId,
'name': name,
'channel_id': channelId,
'network_name': networkName,
'country_alpha2': countryAlpha2,
'root_code': rootCode,
'transport_type': transportType,
'transaction_type': transactionType,
'from_institution_id': fromInstitutionId,
'from_institution_name': fromInstitutionName,
'from_institution_logo': fromInstitutionLogo,
'to_institution_id': toInstitutionId,
'to_institution_name': toInstitutionName,
'to_institution_logo': toInstitutionLogo,
'to_country_alpha2': toCountryAlpha2,
'created_timestamp': createdTimestamp,
'updated_timestamp': updatedTimestamp,
'bounty_amount': bountyAmount,
'bounty_is_open': bountyIsOpen,
'is_ready': isReady,
'bonus_percent': bonusPercent,
'bonus_message': bonusMessage,
};
}