QueryOutputProposalRequest.fromJson constructor

QueryOutputProposalRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory QueryOutputProposalRequest.fromJson(Map<String, dynamic> json) {
  return QueryOutputProposalRequest(
    bridgeId: json.valueAsBigInt<BigInt?>('bridge_id', acceptCamelCase: true),
    outputIndex: json.valueAsBigInt<BigInt?>(
      'output_index',
      acceptCamelCase: true,
    ),
  );
}