You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
614 B

import 'package:equatable/equatable.dart';
import 'package:json_annotation/json_annotation.dart';
part 'update_model.g.dart';
@JsonSerializable()
class UpdateModel extends Equatable {
final String versionCode;
final String versionName;
final String modifyContent;
factory UpdateModel.fromJson(Map<String, dynamic> json) =>
_$UpdateModelFromJson(json);
const UpdateModel({
required this.versionCode,
required this.versionName,
required this.modifyContent,
});
@override
List<Object?> get props => [
versionCode,
versionName,
modifyContent,
];
}