LCCloud class Null safety

LeanEngine

Constructors

LCCloud()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 Properties

isProd bool
read / write

Static Methods

call<T>(String name, {Map<String, dynamic>? params}) Future<T?>
rpc(String name, {Map<String, dynamic>? params}) Future
Invokes a cloud function named name with params, and receives a LCObject, List<LCObject>, or Map<String, LCObject>.
run(String name, {Map<String, dynamic>? params}) Future
Invokes a cloud function named name with params and receives a Map or List.
setProduction(bool prod) → void
Switches the LeanEngine environment. [...]