tape class

Main API for the tape part.

Used for two things:

  • Registering tapers:
    tape.register({
      ...
    });
    
  • Annotating classes for taper generation:
    @tape({
      v0: {#name, #age},
      v1: {#name},
    })
    class Fruit { ... }
    

Constructors

tape(Map<Version, Set<Symbol>> fieldsByVersion)
const

Properties

fieldsByVersion Map<Version, Set<Symbol>>
final
hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

isInitialized bool
no setter
rootPath String
getter/setter pair

Static Methods

register(Map<int, Taper> typeCodesToTapers) → void