RawMessage class

Implementers
Annotations
  • @freezed

Constructors

RawMessage.byteArray({required List<int> byteArray})
const
factory
RawMessage.fromJson(Map<String, dynamic> json)
factory
RawMessage.hex({required String raw})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult hex(RawHex value), required TResult byteArray(RawByteArray value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? hex(RawHex value)?, TResult? byteArray(RawByteArray value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult hex(RawHex value)?, TResult byteArray(RawByteArray value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult hex(String raw)?, TResult byteArray(List<int> byteArray)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult hex(String raw), required TResult byteArray(List<int> byteArray)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? hex(String raw)?, TResult? byteArray(List<int> byteArray)?}) → TResult?
inherited

Operators

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