MapRoomRecord class
- Inheritance
- Implemented types
Constructors
- MapRoomRecord({required String id, required String layerName, required String nameZh, required String nameEn, required String number, String? geometry})
-
const
-
MapRoomRecord.fromJson(Map<
String, dynamic> json, {ValueSerializer? serializer}) -
factory
Properties
- geometry → String?
-
The polygons for this room, absent until its floor is requested.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The layer-qualified GeoServer feature ID.
final
- layerName → String
-
The space's published indoor layer.
final
- nameEn → String
-
The space's English name.
final
- nameZh → String
-
The space's Chinese name.
final
- number → String
-
The classroom or space number.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? id, String? layerName, String? nameZh, String? nameEn, String? number, Value< String?> geometry = const Value.absent()}) → MapRoomRecord -
copyWithCompanion(
CampusMapRoomsCompanion data) → MapRoomRecord -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toColumns(
bool nullToAbsent) → Map< String, Expression< Object> > -
Converts this object into a map of column names to expressions to insert
or update.
override
-
toCompanion(
bool nullToAbsent) → CampusMapRoomsCompanion -
toJson(
{ValueSerializer? serializer}) → Map< String, dynamic> -
Converts this object into a representation that can be encoded with
json. Theserializercan be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.override -
toJsonString(
{ValueSerializer? serializer}) → String -
Converts this object into a json representation. The
serializercan be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override