DiscoverRoomsResponse class abstract

Implemented types

Constructors

DiscoverRoomsResponse(Map<String, Map<String, dynamic>> rooms, String status, int timestamp)
const
factory
DiscoverRoomsResponse.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $DiscoverRoomsResponseCopyWith<DiscoverRoomsResponse>
no setter
hashCode int
The hash code for this object.
no setterinherited
rooms Map<String, Map<String, dynamic>>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
no setter
timestamp int
no setter

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

Operators

operator ==(Object other) bool
The equality operator.
inherited