FunctionCallable.fromMap constructor

FunctionCallable.fromMap(
  1. Map<String, dynamic> map
)

Creates a FunctionCallable object from a map.

Implementation

factory FunctionCallable.fromMap(Map<String, dynamic> map) {
  return FunctionCallable(
    map['httpTriggerURI'],
    timeout: map['timeout'],
    units: AGCTimeUnit.fromInt(map['units']),
  );
}