SunnyCore class

Context holder for sunny-related services

Implemented types
Available extensions

Constructors

SunnyCore({BuildContextResolver? resolver})

Properties

apiClient ApiClient

Available on SunnyGet, provided by the SunnyCoreEssentialExt extension

no setter
authState IAuthState

Available on SunnyGet, provided by the SunnyCoreEssentialExt extension

no setter
buildContext BuildContext?
getter/setter pair
core SunnyCore

Available on SunnyGet, provided by the SunnyCoreCastExt extension

no setter
hashCode int
The hash code for this object.
no setterinherited
resolver BuildContextResolver?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userPreferencesService IUserPreferencesService

Available on SunnyGet, provided by the SunnyCoreEssentialExt extension

no setter

Methods

call<T>({String? name, BuildContext? context}) → T
override
get<T>({dynamic context, String? name}) → T
override
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