NUIMiniProgramDatabase class

Defining the database storage for mini-program

Constructors

NUIMiniProgramDatabase()

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

get(String miniApp) Future<NUIMiniProgramModule?>
Get miniapp by id
getMiniApps() Future<List<NUIMiniProgramModule>>
Get list of miniapps in cache
getSharedPref() Future<NUISharedPref>
Building shared pref for saving list of miniapp
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(NUIMiniProgramModule module) Future<bool>
Save miniprogram
saveMiniApps(List<NUIMiniProgramModule> miniApps) Future<bool>
Save list of miniapps in cache
toString() String
A string representation of this object.
inherited

Operators

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

Constants

name → const String