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.
20 lines
429 B
20 lines
429 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'activity_pos.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class ActivityPos { |
|
bool? enabled = false; |
|
String? code = ''; |
|
String? showImage = ''; |
|
int? jumpType = 0; |
|
String? jumpUrl = ''; |
|
|
|
ActivityPos(); |
|
|
|
factory ActivityPos.fromJson(Map<String, dynamic> json) => _$ActivityPosFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$ActivityPosToJson(this); |
|
|
|
|
|
} |