toMap method

Map<String, dynamic> toMap()

Converts it to a Map.

Implementation

Map<String, dynamic> toMap() {
  return {'path': path};
}