IsEmptyKey class

Use this class as an annotation for describing how specific fields should be treated by the isEmpty code generator

Constructors

IsEmptyKey({bool? ignoreSynthetic, bool? ignore, bool? includeIfPrivate, Function? isEmptyFunction})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
ignore bool
If true the field will not be taken into account on isEmpty function Default: false
final
ignoreSynthetic bool?
If true synthetic field will not be taken into account when checking isEmpty. (Synthetic fields are those represented by set and get definitions)
final
includeIfPrivate bool?
If true the field will not be taken into account on isEmpty function Default: false
final
isEmptyFunction Function?
A Function to use on isEmpty function for the the annotated field.
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