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