Plant constructor

Plant({
  1. required num id,
  2. String? name,
  3. String? address,
  4. double? longitude,
  5. double? latitude,
  6. String? groupId,
  7. List<AssetsGroup>? group = const [],
  8. String? description,
  9. IngestionConfig? ingestionConfigData,
  10. DateTime? createdAt,
  11. DateTime? updatedAt,
  12. List<Gateway> gateways = const [],
})

Returns a new Plant instance.

Implementation

Plant({
  required this.id,
  this.name,
  this.address,
  this.longitude,
  this.latitude,
  this.groupId,
  this.group = const [],
  this.description,
  this.ingestionConfigData,
  this.createdAt,
  this.updatedAt,
  this.gateways = const [],
});