EntityHelper class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

normalize<T extends Object?>(Entity<EntityKey>? content, T? test(Entity<EntityKey> content), Entity<EntityKey>? next(Entity<EntityKey> content)) → T?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verifiedCounterRef(String? value) String?
verifiedNum<T extends num>(T? value) → T?
verifiedObjectRef(String? value) String?
verifiedString(String? value, {bool url = false, bool counterRef = false, bool objectRef = false}) String?
verifiedStrings(List<String>? value, {bool url = false, bool counterRef = false, bool objectRef = false}) List<String>?

Operators

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

Static Properties

generateID String
Generates a unique identifier based on current timestamp
no setter
generateTimeMills int
Generates a timestamp in milliseconds since epoch
no setter

Static Methods

value<T>(String key, dynamic source, [EntityBuilder<T>? builder]) → T?
Extracts and converts a value from source to type T
values<T>(String key, dynamic source, [EntityBuilder<T>? builder]) List<T>?
Extracts and converts a list of values from source to type T