HttpRequests extension
Hue HTTP repo requests made easy.
- on
Methods
-
delete(
Resource resource) → Future< Map< String, dynamic> ?> -
Available on Bridge, provided by the HttpRequests extension
Fetch the givenresourcefrom this bridge. -
get(
Resource resource) → Future< Map< String, dynamic> ?> -
Available on Bridge, provided by the HttpRequests extension
Fetch the givenresourcefrom this bridge. -
getResource(
ResourceType type) → Future< List< Map< ?>String, dynamic> > -
Available on Bridge, provided by the HttpRequests extension
Fetch all resources of the given resourcetypefrom this bridge. -
post(
Resource resource, [bool refreshOriginals = true]) → Future< Map< String, dynamic> ?> -
Available on Bridge, provided by the HttpRequests extension
Fetch the givenresourcefrom this bridge. -
put(
Resource resource, [bool refreshOriginals = true]) → Future< Map< String, dynamic> ?> -
Available on Bridge, provided by the HttpRequests extension
Fetch the givenresourcefrom this bridge.