ScSpecEntry class
XDR SCSpecEntry union: one contract-spec entry.
- Inheritance
-
- Object
- XDRSerialization
- XDRVariantSerialization
- ScSpecEntry
Constructors
- ScSpecEntry.event(ScSpecEventV0 v)
-
const
-
ScSpecEntry.fromStruct(Map<
String, dynamic> json) -
factory
- ScSpecEntry.function(ScSpecFunctionV0 v)
-
const
- ScSpecEntry.udtEnum(ScSpecUDTEnumV0 v)
-
const
- ScSpecEntry.udtErrorEnum(ScSpecUDTErrorEnumV0 v)
-
const
- ScSpecEntry.udtStruct(ScSpecUDTStructV0 v)
-
const
- ScSpecEntry.udtUnion(ScSpecUDTUnionV0 v)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → ScSpecEntryKind
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → XDRSerialization
-
final
- variantName → String
-
no setteroverride
Methods
-
createLayout(
{String? property}) → Layout< Map< String, dynamic> > -
override
-
createVariantLayout(
{String? property}) → Layout< Map< String, dynamic> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toLayoutStruct(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toVariantLayoutStruct(
) → Map< String, dynamic> -
inherited
-
toVariantXDR(
{String? property}) → BuBytes -
inherited
-
toVariantXDRBase64(
) → String -
inherited
-
toVariantXDRHex(
) → String -
inherited
-
toXDR(
{String? property}) → BuBytes -
inherited
-
toXDRBase64(
) → String -
inherited
-
toXDRHex(
) → String -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited