toMap method

Map<String, String> toMap()

Implementation

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