toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'availableTypes': availableTypes.map((e) => e.name).toList(),
      'availableTools': availableTools.map((e) => e.name).toList(),
      'initAttribute': initAttribute.toJson()
    };