DownloadRow.fromJson constructor
- Map<
String, dynamic> json, { - ValueSerializer? serializer,
Implementation
factory DownloadRow.fromJson(Map<String, dynamic> json,
{ValueSerializer? serializer}) {
serializer ??= driftRuntimeOptions.defaultSerializer;
return DownloadRow(
checksum: serializer.fromJson<String>(json['checksum']),
path: serializer.fromJson<String>(json['path']),
);
}