Transaction class
Constructors
-
Transaction({String? id, DateTime? createdAt, DateTime? updatedAt, String? amount, int? decimals, String? destination, List<
TransactionError> ? errors = const [], String? explorerUrl, String? feePayer, String? ip, String? mint, int? processingDuration, String? referenceId, String? referenceType, String? signature, DateTime? solanaCommitted, int? solanaCommittedDuration, DateTime? solanaFinalized, int? solanaFinalizedDuration, DateTime? solanaStart, Object? solanaTransaction, String? source_, TransactionStatus? status, int? totalDuration, String? tx, String? ua, DateTime? webhookEventStart, DateTime? webhookEventEnd, int? webhookEventDuration, DateTime? webhookVerifyStart, DateTime? webhookVerifyEnd, int? webhookVerifyDuration}) - Returns a new Transaction instance.
Properties
- amount ↔ String?
-
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- decimals ↔ int?
-
getter/setter pair
- destination ↔ String?
-
getter/setter pair
-
errors
↔ List<
TransactionError> ? -
getter/setter pair
- explorerUrl ↔ String?
-
getter/setter pair
- feePayer ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
getter/setter pair
- ip ↔ String?
-
getter/setter pair
- mint ↔ String?
-
getter/setter pair
- processingDuration ↔ int?
-
getter/setter pair
- referenceId ↔ String?
-
getter/setter pair
- referenceType ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature ↔ String?
-
getter/setter pair
- solanaCommitted ↔ DateTime?
-
getter/setter pair
- solanaCommittedDuration ↔ int?
-
getter/setter pair
- solanaFinalized ↔ DateTime?
-
getter/setter pair
- solanaFinalizedDuration ↔ int?
-
getter/setter pair
- solanaStart ↔ DateTime?
-
getter/setter pair
- solanaTransaction ↔ Object?
-
getter/setter pair
- source_ ↔ String?
-
getter/setter pair
- status ↔ TransactionStatus?
-
Please note: This property should have been non-nullable! Since the specification file
does not include a default value (using the "default:" property), however, the generated
source code must fall back to having a nullable type.
Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
- totalDuration ↔ int?
-
getter/setter pair
- tx ↔ String?
-
getter/setter pair
- ua ↔ String?
-
getter/setter pair
- updatedAt ↔ DateTime?
-
getter/setter pair
- webhookEventDuration ↔ int?
-
getter/setter pair
- webhookEventEnd ↔ DateTime?
-
getter/setter pair
- webhookEventStart ↔ DateTime?
-
getter/setter pair
- webhookVerifyDuration ↔ int?
-
getter/setter pair
- webhookVerifyEnd ↔ DateTime?
-
getter/setter pair
- webhookVerifyStart ↔ DateTime?
-
getter/setter pair
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
Static Methods
-
fromJson(
dynamic value) → Transaction? -
Returns a new Transaction instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< Transaction> ? -
mapFromJson(
dynamic json) → Map< String, Transaction> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< Transaction> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.