YbSharePreference class

缓存

Constructors

YbSharePreference()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

getBoolCache({required String name}) bool?
getDoubleCache({required String name}) double?
getIntCache({required String name}) int?
getStringCache({required String name}) String?
init() → dynamic
初始化(一次)
setBoolCache({required String name, bool? value, bool defaultValue = false}) → dynamic
setDoubleCache({required String name, double? value, double defaultValue = 0}) → dynamic
setIntCache({required String name, int? value, int defaultValue = 0}) → dynamic
setStringCache({required String name, String? value, String defaultValue = ''}) → dynamic