$Resource class abstract

a concrete implementation of Resource, since Resource is not instantiable

Implemented types
Available extensions
Annotations
  • @BuiltValue.new(instantiable: true)

Constructors

$Resource([void updates($ResourceBuilder)?])
factory

Properties

discriminatorValue String?

Available on Resource, provided by the ResourceDiscriminatorExt extension

no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ResourceType?
The resource type. Possible values: accountHolder, legalEntity. You must also include the corresponding unique identifier of the resource. For example, the account holder ID.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates($ResourceBuilder)) $Resource
Rebuilds the instance.
inherited
toBuilder() $ResourceBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<$Resource>
no setter