AgentSpec constructor

AgentSpec({
  1. required String name,
  2. String? description,
  3. Map<String, dynamic>? annotations,
  4. ChannelsSpec? channels,
  5. EmailSpec? email,
  6. HeartbeatSpec? heartbeat,
})

Implementation

AgentSpec({required this.name, this.description, Map<String, dynamic>? annotations, this.channels, this.email, this.heartbeat})
  : annotations = annotations ?? {};