LCCloud class

LeanEngine

Constructors

LCCloud()

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 Properties

isProd bool
getter/setter pair

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.