toJson method
Implementation
Map<String, dynamic> toJson() => {
'path': path,
'type': type.name,
'content': content,
'lastModified': lastModified.toIso8601String(),
'hash': hash,
'syncStatus': syncStatus.name,
'remoteHash': remoteHash,
'author': author,
'version': version,
};