LexXrpcSchema class sealed
- Available extensions
- Annotations
-
- @freezed
Constructors
- LexXrpcSchema.object({required LexObject data})
-
constfactory
- LexXrpcSchema.refVariant({required LexRefVariant data})
-
constfactory
Properties
Methods
-
map<
TResult extends Object?> ({required TResult refVariant(ULexXrpcSchemaRefVariant value), required TResult object(ULexXrpcSchemaObject value)}) → TResult -
Available on LexXrpcSchema, provided by the LexXrpcSchemaPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> ({TResult? refVariant(ULexXrpcSchemaRefVariant value)?, TResult? object(ULexXrpcSchemaObject value)?}) → TResult? -
Available on LexXrpcSchema, provided by the LexXrpcSchemaPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> ({TResult refVariant(ULexXrpcSchemaRefVariant value)?, TResult object(ULexXrpcSchemaObject value)?, required TResult orElse()}) → TResult -
Available on LexXrpcSchema, provided by the LexXrpcSchemaPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> ({TResult refVariant(LexRefVariant data)?, TResult object(LexObject data)?, required TResult orElse()}) → TResult -
Available on LexXrpcSchema, provided by the LexXrpcSchemaPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
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
-
when<
TResult extends Object?> ({required TResult refVariant(LexRefVariant data), required TResult object(LexObject data)}) → TResult -
Available on LexXrpcSchema, provided by the LexXrpcSchemaPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> ({TResult? refVariant(LexRefVariant data)?, TResult? object(LexObject data)?}) → TResult? -
Available on LexXrpcSchema, provided by the LexXrpcSchemaPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited