DiscoverResponse class
Constructors
-
DiscoverResponse.fromJson(Map<String, dynamic> json)
-
factory
-
DiscoverResponse.groups(Map<String, Map<String, dynamic>> groups, String status, int timestamp)
-
const
factory
-
DiscoverResponse.network(Map<String, dynamic> mesh, String status, int timestamp)
-
const
factory
-
DiscoverResponse.rooms(Map<String, Map<String, dynamic>> rooms, String status, int timestamp)
-
const
factory
-
DiscoverResponse.scenes(Map<String, ScenarioGroup> scenes, String status, int timestamp)
-
const
factory
Methods
-
map<TResult extends Object?>({required TResult network(DiscoverNetworkResponse value), required TResult rooms(DiscoverRoomsResponse value), required TResult groups(DiscoverGroupsResponse value), required TResult scenes(DiscoverScenesResponse value)})
→ TResult
-
inherited
-
maybeMap<TResult extends Object?>({TResult network(DiscoverNetworkResponse value)?, TResult rooms(DiscoverRoomsResponse value)?, TResult groups(DiscoverGroupsResponse value)?, TResult scenes(DiscoverScenesResponse value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult network(Map<String, dynamic> mesh, String status, int timestamp)?, TResult rooms(Map<String, Map<String, dynamic>> rooms, String status, int timestamp)?, TResult groups(Map<String, Map<String, dynamic>> groups, String status, int timestamp)?, TResult scenes(Map<String, ScenarioGroup> scenes, String status, int timestamp)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult network(Map<String, dynamic> mesh, String status, int timestamp), required TResult rooms(Map<String, Map<String, dynamic>> rooms, String status, int timestamp), required TResult groups(Map<String, Map<String, dynamic>> groups, String status, int timestamp), required TResult scenes(Map<String, ScenarioGroup> scenes, String status, int timestamp)})
→ TResult
-
inherited