CreateTokenParams constructor

  1. @JsonSerializable(explicitToJson: true)
  2. @Deprecated('Use [CreateTokenParams.card] instead')
const CreateTokenParams({
  1. @Default(TokenType.Card) TokenType type,
  2. String? name,
  3. Address? address,
})

Implementation

@JsonSerializable(explicitToJson: true)
@Deprecated('Use [CreateTokenParams.card] instead')
const factory CreateTokenParams({
  /// Type of token.
  @Default(TokenType.Card) TokenType type,

  /// Name of the card holder
  String? name,

  /// Additional address details
  Address? address,
}) = _CreateTokenParamsLegacy;