toJson method

Map<String, Object?> toJson()

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

Implementation

Map<String, Object?> toJson() => {'path': path};