Prices class

Constructors

Prices({String? currency, int? valueCents})
Prices.fromJson(String source)
factory
Prices.fromMap(Map<String, dynamic> map)
factory

Properties

currency String?
Moeda do Preço (Somente "BRL" por enquanto)
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueCents int?
Preço do Plano em Centavos
getter/setter pair

Methods

copyWith({String? currency, int? valueCents}) Prices
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override