toMap method

Map<String, dynamic> toMap()

Serializes the step into a persistence-friendly map.

Implementation

Map<String, dynamic> toMap() => {
      'id': id,
      'type': type,
      'description': description,
      'toolName': toolName,
      'arguments': arguments,
    };