AppleSigninBloc class
Business logic component for Apple signin
- Inheritance
-
- Object
- ModBloc<
ModSessionDTO, ThirdPartySessionModel> - ModBaseSigninBloc
- AppleSigninBloc
Constructors
Properties
-
controller
→ StreamController<
ModResourceResult< ThirdPartySessionModel> ?> -
Stream controller
finalinherited
-
dataStream
→ Stream<
ModResourceResult< ThirdPartySessionModel> ?> -
Data stream (pipe) with binded widget
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- repo ↔ ISessionRepo
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildResult(
{ThirdPartySessionModel? data = null, int code = -1}) → ModResourceResult< ThirdPartySessionModel> -
Encapsulate build result objects creation to avoid inconsistencies
inherited
-
callAuthentication(
ModSessionDTO dto) → Future< ThirdPartySessionModel?> -
Launches auth flow.
Must be overriden by children
override
-
dispose(
) → void -
Free resources
inherited
-
getErrorCode(
{Exception? e}) → int -
Returns custom error code
Must be overriden by children
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performOperation(
ModSessionDTO dto) → void -
Abstraction to perform some operation using params received.
Must be overriden by children.
inherited
-
processData(
ModResourceResult< ThirdPartySessionModel> ? data) → void -
Send data to binded widget automatically triggering a rebuild
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited