CreditPack class
- Available extensions
- Annotations
-
- @CopyWith.new()
- @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
-
CreditPack({required String code, required String name, required num creditsUsd, required bool web, String? priceLabel, Map<
String, String> ? storeProductIds}) - Returns a new CreditPack instance.
-
CreditPack.fromJson(Map<
String, dynamic> json) -
factory
Properties
- code → String
-
final
- copyWith → _$CreditPackCWProxy
-
Available on CreditPack, provided by the $CreditPackCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfCreditPack.copyWith(...)orinstanceOfCreditPack.copyWith.fieldName(...).no setter - creditsUsd → num
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
final
- priceLabel → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storeProductIds
→ Map<
String, String> ? -
final
- web → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override