SPI class

An annotation used to specify how a field is serialized.

Annotations
  • @Target.new({TargetKind.classType, TargetKind.extensionType, TargetKind.field})

Constructors

SPI({String? name = '', String? pattern = '', int? priority = 0, List<String>? alias = const []})
Creates a new SPI instance.
const

Properties

alias List<String>?
Alias
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Name spi name
final
pattern String?
Pattern to customized
final
priority int?
Priority
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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