PaymentChannel class
Class responsible for storing information about a payment channel
- id - id of the payment channel
- name - channel display name
- imageUrl - channel image url
- constraints - channel constraints
- Annotations
Constructors
-
PaymentChannel({required String id, required String name, required String imageUrl, required List<
PaymentConstraint> constraints}) -
PaymentChannel.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
constraints
→ List<
PaymentConstraint> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- imageUrl → String
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited