UserEntity class
Data class model
- Annotations
Constructors
- UserEntity({required int? id, required String name, required String email, required UserRole role})
-
UserEntity.fromJson(Map<
String, dynamic> json) -
Get model from map
factory
Properties
Methods
-
copy(
[Map< String, dynamic> ? json]) → UserEntity - copy
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Get map from model
-
toString(
) → String -
Get string json
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited