SocialLogin class
SocialLogin model is to store/transfer data of social login types.
- Annotations
Constructors
- SocialLogin({required String iconPath, required SocialLoginCallback callback})
-
Contains iconPath, and callback fields.
const
Properties
- callback → SocialLoginCallback
-
The callback will be called on click to logo of the social platform.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconPath → String
-
Full asset path of the social platform logo.
Ex: 'assets/images/google.png'
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