SpatioConnection constructor

SpatioConnection({
  1. required String id,
  2. String? name,
  3. String? category,
  4. String? description,
  5. String? authType,
  6. bool? connected,
  7. List<Map<String, Object>>? connectedAccounts = const [],
  8. Map<String, Object> capabilities = const {},
  9. String? gradientFrom,
  10. String? gradientTo,
  11. String? icon,
})

Returns a new SpatioConnection instance.

Implementation

SpatioConnection({
  required this.id,
  this.name,
  this.category,
  this.description,
  this.authType,
  this.connected,
  this.connectedAccounts = const [],
  this.capabilities = const {},
  this.gradientFrom,
  this.gradientTo,
  this.icon,
});