toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'path': path,
  'exists': exists,
  'isDir': isDir,
  'size': size,
  'lineCount': lineCount,
  if (modified != null) 'modified': modified,
};