ManagedAPIServiceApi class

API for Managed API Service operations

Constructors

ManagedAPIServiceApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for ManagedAPIServiceApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
pigeonVar_binaryMessenger → BinaryMessenger?
final
pigeonVar_messageChannelSuffix → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch(String name, String relativeUrl, ManagedApiFetchOptionsPigeon options) → Future<ManagedApiFetchResponsePigeon>
Calls baseUrl + relativeUrl of the named managed API with its auth applied.
getManagedAPI(String name) → Future<Map<String?, String?>?>
Returns the dataMap of a managed API by name, or null if not found.
getManagedAPIs() → Future<List<Object?>>
Returns the dataMap of every managed API. Untyped elements: Pigeon only shallow-casts List<Map<..>>, which fails on the decoded inner maps.
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

Constants

pigeonChannelCodec → const MessageCodec<Object?>