FileAttributionState.fromJson constructor
Implementation
factory FileAttributionState.fromJson(Map<String, dynamic> json) {
return FileAttributionState(
contentHash: json['contentHash'] as String? ?? '',
neomageContribution:
(json['neomageContribution'] as num?)?.toInt() ?? 0,
mtime: (json['mtime'] as num?)?.toInt() ?? 0,
);
}