Engine class

ArkodWP engine

Annotations
  • @freezed

Constructors

Engine({required int id, required DateTime createdAt, required bool isInitialized, required String name, required String host, @JsonKey(fromJson: _engineTypeFromJson, toJson: _engineTypeToJson) required EngineType type, int? localEndpointId, List<Endpoint>? endpoints, String? apiKey})
const
factory
Engine.fromDatabaseRow(PostgreSQLResultRow row)
factory
Engine.fromJson(Map<String, dynamic> json)
factory

Properties

apiKey String?
Engine API key
no setterinherited
copyWith → $EngineCopyWith<Engine>
no setterinherited
createdAt DateTime
Engine creation date
no setterinherited
endpoints List<Endpoint>?
Engine endpoints
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
host String
Engine host
no setterinherited
id int
Engine ID
no setterinherited
isInitialized bool
Is the engine initialized ?
no setterinherited
localEndpointId int?
Engine local endpoint ID
no setterinherited
name String
Engine name
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type EngineType
Engine type
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