Credential class

A data structure representing a credential

Constructors

Credential({String? meth, String? val, String? resp, Map<String, dynamic>? params, bool? done})

Properties

done bool?
Check if validation done
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
meth String?
Validation method
final
params Map<String, dynamic>?
Validation parameters
final
resp String?
Validation response
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
val String?
Validation value (e.g. email or phone number)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMessage(Map<String, dynamic> msg) Credential