Operation class

Constructors

Operation({OperationEmbedded? embedded, OperationLinks? links, DateTime? createdAt, String? description, DateTime? dueBy, String? id, String? identificationNumber, String? name, OperationPriority? priority, DateTime? scheduledAt, OperationSignature? signature, List<String>? tags = const [], String? type, DateTime? updatedAt})
Returns a new Operation instance.

Properties

createdAt DateTime?
final
description String?
getter/setter pair
dueBy DateTime?
getter/setter pair
embedded OperationEmbedded?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
final
identificationNumber String?
getter/setter pair
getter/setter pair
name String?
getter/setter pair
priority OperationPriority?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledAt DateTime?
getter/setter pair
signature OperationSignature?
getter/setter pair
tags List<String>?
getter/setter pair
type String?
getter/setter pair
updatedAt DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json) Operation?
Returns a new Operation instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<Operation>
mapFromJson(Map<String, dynamic>? json) Map<String, Operation>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<Operation>>