toJson method

Map<String, dynamic> toJson()

Serializes this plugin configuration to a JSON-compatible map.

Implementation

Map<String, dynamic> toJson() => {
      'name': name,
      'config': config,
    };