Credential class

Inheritance
Available Extensions

Constructors

Credential()

Properties

data Map<String, dynamic>
finalinherited
email Field<String>
latefinal
fields Map<String, FieldBase>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id Field<String>
latefinal
isAuthenticated bool
no setter
isEmpty bool
Flag for empty content.
no setterinherited
isNotEmpty bool
Flag for non-empty content.
no setterinherited
name Field<String>
latefinal
parent FieldBase?
no setterinherited
phone Field<String>
latefinal
roles Field<String>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
rx Rx<Entity>
no setterinherited
username Field<String>
latefinal

Methods

anyRoles(Set<String> roles) bool
commit() → void
inherited
containsKey(String fieldName) bool
inherited
copy(Entity source) → void
inherited
field<T>(String name, {String? label, T? defaultValue}) Field<T>
inherited
fieldList<E extends Entity>(String name, {String? label}) ListField<E>
inherited
hasRoles(Set<String> roles) bool
load(Map<String, dynamic> rawData, {bool ignoreNullField = false}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
of<T extends Entity>() → T
inherited
onLoaded(void action()) → void
inherited
reset() → void
inherited
rollback() → void
Rollback to the last commit
inherited
signIn(String id, String username, {String? name, String? email, String? phone, String? roles}) → void
signOut() → void
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
updateState() → void
inherited
updateValues(Map<String, dynamic> values) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String fieldName) → dynamic
inherited
operator []=(String fieldName, dynamic value) → void
inherited