User class

Annotations
  • @Dataclass.new()

Constructors

User({required String name, required Address address, required int age, required bool single})

Properties

address ↔ Address
getter/setter pair
age ↔ int
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
single ↔ bool
getter/setter pair

Methods

hello(String message) → String
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