CoinInfo constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const CoinInfo({
  1. required String name,
  2. required int decimals,
  3. required String symbol,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory CoinInfo({
  required String name,
  required int decimals,
  required String symbol
}) = _CoinInfo;