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.

25 lines
603 B

import 'package:equatable/equatable.dart';
2 years ago
import 'package:json_annotation/json_annotation.dart';
part 'sms_content_model.g.dart';
@JsonSerializable()
class SmsContentModel extends Equatable{
final int id;
final String content;
final int isChecked;
factory SmsContentModel.fromJson(Map<String, dynamic> json) =>_$SmsContentModelFromJson(json);
Map<String,dynamic> toJson()=> _$SmsContentModelToJson(this);
const SmsContentModel({
required this.id,
required this.content,
required this.isChecked,
});
@override
List<Object?> get props => [id, content, isChecked];
}