factory AttachmentUpdateVersion.fromJson(Map<String, Object?> json) { return AttachmentUpdateVersion( number: (json[r'number'] as num?)?.toInt() ?? 0, ); }