toMap method

Map<String, dynamic> toMap()

Converts FunctionCallable object to map.

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'httpTriggerURI': httpTriggerURI,
    'timeout': timeout,
    'units': units.toInt(),
  };
}