kind library
A library for describing and accessing objects.
Important classes
- Kind - The superclass of all kinds.
- Entity and EntityKind - Used for declaring your own kinds.
Classes
- BoolKind
- Kind for bool.
- BytesKind
-
Kind for immutable lists of unsigned 8-bit integers (
List<int>
). - CamelCaseNamer
- A Namer that translates names to various camel case naming conventions.
-
CompositePrimitiveKind<
T, E> - Superclass for kinds that delegate operations to another Kind.
-
ConvertibleUnitOfMeasure<
T extends ConvertibleUnitOfMeasure> - Superclass for units that DO have fixed conversion formulas.
- Currency
- Information about a currency.
- CurrencyAmount
- Exact amount of specific currency.
- CurrencyAmountKind
- Kind for CurrencyAmount.
- Date
- A date in the Gregorian calendar. It doesn't have a timezone.
- DateKind
- Kind for Date.
- DateTimeKind
- Kind for DateTime.
- DateTimeWithTimeZone
- A DateTime that retains the original time zone.
- DateTimeWithTimeZoneKind
- Kind for DateTimeWithTimeZone.
- Decimal
- Decimal number.
- DecimalKind
- Kind for Decimal.
- DecodingContext
- Superclass of JsonDecodingContext and ProtobufDecodingContext.
- DurationKind
- Kind for Duration.
- EncodingContext
- Superclass of JsonEncodingContext and ProtobufEncodingContext.
- Entity
- Optional superclass for entities.
- EntityData
- A collection of (Prop, value) tuples.
- EntityDebugStringBuilder
- A helper class for building debug strings.
- EntityJunction
- Junction table specification in a relational database.
-
EntityKind<
T extends Object> - Kind for any object.
-
EntityKindDefineContext<
T extends Object> - A mutable context for defining properties, constructor, and other information for EntityKind.
-
EntityKindExtendsClause<
T extends Object> - EntityRelation
- Describes a relation of two tables in a relational database.
-
EnumKind<
T> - Kind for enums (values that have a small number of valid values).
-
EnumKindEntry<
T> - A possible value specified by EnumKind.
-
Field<
T> - A FieldLike for non-collection objects.
-
FieldLike<
T> - Superclass for Field, SetField, and ListField.
- Float32Kind
- Kind for 32-bit floating-point values (double in Dart).
- Float64Kind
- Kind for 64-bit floating-point values (double in Dart).
- FloatKindBase
- Base class for floating-point kinds (Float32Kind and Float64Kind).
-
FutureKind<
T> -
Kind for Future (
Future<T>
). - GeoPoint
- A geographic point on Earth.
- GeoPointKind
- Kind for GeoPoint.
- GraphEquality
- Evaluates equality and hash code for possibly cyclic graphs.
- GraphNodeContext
- Superclass for graph walkers like JsonEncodingContext.
- Int16Kind
- Kind for 16-bit signed integers.
- Int32Kind
- Kind for 32-bit signed integers.
- Int64FixNumKind
-
Kind for
Int64
(package:fixnum), which is a browser-compatible 64-bit signed integer. - Int64Kind
- Kind for 64-bit signed integers.
- Int8Kind
- Kind for 8-bit signed integers.
- IntKindBase
- Abstract base class for integer kinds.
- JsonDecodingContext
- JSON deserializer.
- JsonEncodingContext
- JSON serializer.
- JsonKind
- Kind for JSON trees.
- JsonSettings
- Serialization settings used by JsonEncodingContext and JsonDecodingContext.
-
Kind<
T> -
A class for creating, inspecting, and manipulating instances of specific
type
T
. - KindLibrary
- A collection of Kind instances.
- KindMeaning
- Describes meaning of a EntityKind in some structured data vocabulary.
-
ListField<
T> -
A FieldLike for
List<T>
. -
ListKind<
T> - Kind for List.
-
MapKind<
K, V> - Kind for Map.
- Namer
- Translates names of things.
-
NullableKind<
T> -
Kind for nullable values (
T?
). -
NumericKind<
T> - Superclass for IntKindBase, Int64FixNumKind, FloatKindBase, and DecimalKind.
-
ObjectKind<
T extends Object> - A kind that's lazily resolved using the available KindLibrary.
-
OneOfKind<
T> - Kind for polymorphic values.
-
OneOfKindEntry<
T> - Entry in OneOfKind.
-
PrimitiveKind<
T> - Superclass for kinds of primitives values such as int and String.
-
Prop<
T extends Object, V> - Property declared by EntityKind.
- PropMeaning
- Describes meaning of a Prop in some structured data vocabulary.
- ProtobufBuilderInfoContext
- Context object for EntityKind.protobufBuilderInfo.
- ProtobufDecodingContext
- Context for decoding Protocol Buffers messages.
- ProtobufEncodingContext
- Context for encoding Protocol Buffers messages.
- ProtocolBuffersSchemaGenerator
- Generates a Protocol Buffers schema file from a set of EntityKind values.
- RandomExampleContext
- Context for Kind.randomExample.
-
ReactiveIterable<
T> - A wrapper class for Iterable that makes reads and writes observable (see ReactiveSystem).
-
ReactiveList<
E> - A wrapper class for List that makes reads and writes observable (see ReactiveSystem).
-
ReactiveMap<
K, V> - A wrapper class for Map that makes reads and writes observable (see ReactiveSystem).
-
ReactiveSet<
E> - A wrapper class for Set that makes reads and writes observable (see ReactiveSystem).
- ReactiveSystem
- A reactive state management system that listens reads/writes.
-
SetField<
T> -
A FieldLike for
Set<T>
. -
SetKind<
T> - Kind for Set.
-
StreamKind<
T> -
Kind for Stream (
Stream<T>
). - StringKind
- Kind for String.
- Timezone
- Timezone for DateTimeWithTimeZone;
- TraceableError
- An error that adds contextual information to a caught error.
- Uint16Kind
- Kind for 16-bit unsigned integers.
- Uint32Kind
- Kind for 32-bit unsigned integers.
- Uint64Kind
- Kind for 64-bit unsigned integers.
- Uint8Kind
- Kind for 8-bit unsigned integers.
- UnderscoreNamer
- A Namer that translates names to underscore naming convention.
- UnitOfArea
- Unit of area (squareMeters, squareFeet, etc.).
- UnitOfLength
-
Unit of length (
meter
, feet, etc.). - UnitOfMeasurement
- Unit of measurement (kilogram, meter, feet, etc.).
- UnitOfTemperature
- Unit of temperature.
- UnitOfVolume
- Unit of volume (cubicMeters, liters, etc.).
- UnitOfWeight
- Unit of weight (kilograms, pounds, etc.).
- Uuid
- UUID is an universally unique 128-bit identifier.
- UuidKind
- Kind for Uuid.
- ValidateContext
- Context object for Kind.instanceValidate.
- VoidKind
-
Kind for
void
. -
WrappingField<
T> - Superclass for ListField and SetField.
Mixins
- EntityMixin
- Optional mixin for entities (alternative to extending Entity).
-
NonSerializableKindMixin<
T extends Object> - Mixin for FutureKind and StreamKind.
-
PropDeclarationHelperMixin<
T extends Object> - A helper class used for declaring Prop instances.
-
ReactiveIterableWrapperMixin<
E> -
ReactiveMixin<
T> - Mixin for making a reactive class from any mutable class.
Exceptions / Errors
- FrozenError
- Thrown when there is an attempt to mutate a frozen object.
- GraphNodeError
- An error in a graph.
- ValidationError
- Validation error added to ValidateContext.