Checksum.fromMap(Map<String, Object?> obj) : algorithm = obj['algorithm'] as ChecksumAlgorithm, checksum = obj['checksum'] as String;