HoverAction.fromMap constructor

HoverAction.fromMap(
  1. Map<String, dynamic> json
)

Implementation

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