QueryEscrowAddressRequest.fromJson constructor

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

Implementation

factory QueryEscrowAddressRequest.fromJson(Map<String, dynamic> json) {
  return QueryEscrowAddressRequest(
    portId: json.valueAsString<String?>('port_id', acceptCamelCase: true),
    channelId: json.valueAsString<String?>(
      'channel_id',
      acceptCamelCase: true,
    ),
  );
}