MsgRemoveTokenPriceQuery.fromJson constructor

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

Implementation

factory MsgRemoveTokenPriceQuery.fromJson(Map<String, dynamic> json) {
  return MsgRemoveTokenPriceQuery(
    admin: json.valueAsString<String?>('admin', acceptCamelCase: true),
    baseDenom: json.valueAsString<String?>(
      'base_denom',
      acceptCamelCase: true,
    ),
    quoteDenom: json.valueAsString<String?>(
      'quote_denom',
      acceptCamelCase: true,
    ),
    osmosisPoolId: json.valueAsBigInt<BigInt?>(
      'osmosis_pool_id',
      acceptCamelCase: true,
    ),
  );
}