| 12345678910111213141516171819202122232425 |
- import 'package:json_annotation/json_annotation.dart';
- part 'config.g.dart';
- @JsonSerializable()
- class ConfigModel {
- int configId;
- String configName;
- String configKey;
- String configValue;
- String? configType;
- ConfigModel({
- required this.configId,
- required this.configName,
- required this.configKey,
- required this.configValue,
- this.configType,
- });
- factory ConfigModel.fromJson(Map<String, dynamic> json) =>
- _$ConfigModelFromJson(json);
- Map<String, dynamic> toJson() => _$ConfigModelToJson(this);
- }
|