IsEmpty class

Use this class as an annotation to define a class to be able to implement isEmpty function so the the code generator can generate the boilerplate code for it

Constructors

IsEmpty({bool? ignoreSynthetic, bool? includePrivateFields})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
ignoreSynthetic bool?
If true all synthetic fields will not be taken into account when checking isEmpty. (Synthetic fields are those represented by set and get definitions)
final
includePrivateFields bool?
Include private fields in isEmpty function.
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