HttpsCallable class
A HttpsCallable instance that lets you call a cloud function.
Constructors
- HttpsCallable({required FirebaseApp app, required String region, required String? origin, required HttpsCallableOptions options, required String name, required Client client})
- Creates an HttpsCallable
Properties
- app → FirebaseApp
-
The
FirebaseApp
this function belongs tofinal - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the function to call
final
- options → HttpsCallableOptions
-
Configuration options for timeout
final
- origin → String?
-
Origin specifies a different origin in the case of emulators.
final
- region → String
-
The region this function belongs to
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call<
T> ([dynamic data]) → Future< HttpsCallableResult< T> > - Calls the function with the given data.
-
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