attr_push_request.dart 504 B

123456789101112131415161718192021
  1. import 'package:clean/base/base_request.dart';
  2. import 'package:json_annotation/json_annotation.dart';
  3. part 'attr_push_request.g.dart';
  4. @JsonSerializable()
  5. class AttrPushRequest extends BaseRequest {
  6. @JsonKey(name: 'clientType')
  7. String clientType;
  8. @JsonKey(name: 'clientId')
  9. String clientId;
  10. @JsonKey(name: 'resultJson')
  11. String resultJson;
  12. AttrPushRequest(this.resultJson, this.clientId, this.clientType);
  13. @override
  14. Map<String, dynamic> toJson() => _$AttrPushRequestToJson(this);
  15. }