toJson method

Map<String, dynamic> toJson()

JSON form.

Implementation

Map<String, dynamic> toJson() => {'path': path, 'size': size};