Instrument class

Annotations
  • @freezed

Constructors

Instrument({required String id, required String name, required String privateKey, required String publicKey, required Set<String> enabledAims, required Map<String, int> perAimBudget, required bool locationIsFixed, String? url, Location? defaultLocation})
const
factory
Instrument.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $InstrumentCopyWith<Instrument>
no setterinherited
defaultLocation Location?
no setterinherited
enabledAims Set<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
locationIsFixed bool
no setterinherited
name String
no setterinherited
perAimBudget Map<String, int>
no setterinherited
privateKey String
no setterinherited
publicKey String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
no setterinherited

Methods

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

Operators

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