CoinBalance constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const CoinBalance({
  1. required int amount,
  2. required String coinType,
  3. CoinInfo? coinInfo,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory CoinBalance({
  required int amount,
  required String coinType,
  CoinInfo? coinInfo
}) = _CoinBalance;