Message class sealed

Annotations
  • @freezed

Constructors

Message({required String hash, Address? src, Address? dst, @amountJsonConverter required BigInt value, required bool bounce, required bool bounced, String? body, String? bodyHash})
const
factory
Message.fromJson(Map<String, dynamic> json)
factory

Properties

body String?
no setterinherited
bodyHash String?
no setterinherited
bounce bool
no setterinherited
bounced bool
no setterinherited
copyWith → $MessageCopyWith<Message>
Create a copy of Message with the given fields replaced by the non-null parameter values.
no setterinherited
dst Address?
no setterinherited
hash String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src Address?
no setterinherited
value BigInt
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Message to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited