VersionRestoreParams.fromJson constructor
Implementation
factory VersionRestoreParams.fromJson(Map<String, Object?> json) {
return VersionRestoreParams(
versionNumber: (json[r'versionNumber'] as num?)?.toInt() ?? 0,
message: json[r'message'] as String? ?? '',
restoreTitle: json[r'restoreTitle'] as bool? ?? false,
);
}