Data class abstract

interface that all our models need to use to handle data like e.g. InspectionLocation

Implemented types
Implementers
Annotations

Constructors

Data.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
imageFutures List<Future<ImageData<Object>?>>?
getter/setter pairinherited
imagehashes List<String>?
getter/setter pairinherited
mainhash String?
getter/setter pairinherited
mainImage Future<ImageData<Object>?>
getter/setter pairinherited
previewImage Future<ImageData<Object>?>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
no setter
title String
no setter

Methods

extras({BuildContext? context}) List<Widget>
an optional extra Widget, to display extra data (currently only used by CheckPointDefect to show the urgency)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toSmallJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson<T extends Data>(Map<String, dynamic> map) → T?
idFromJson(String? id) → dynamic
idToJson(String id) → dynamic