toJson method

  1. @override
Map<String, Object?> toJson()
override

Must include path; the rest is whatever the plugin needs.

Implementation

@override
Map<String, Object?> toJson() => {...super.toJson(), 'target': target};