1
1
// This file is automatically generated, so please do not edit it.
2
- // @generated by `flutter_rust_bridge`@ 2.7 .0.
2
+ // @generated by `flutter_rust_bridge`@ 2.8 .0.
3
3
4
4
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
5
5
@@ -69,14 +69,14 @@ class YttriumDart extends BaseEntrypoint<YttriumDartApi, YttriumDartApiImpl,
69
69
kDefaultExternalLibraryLoaderConfig;
70
70
71
71
@override
72
- String get codegenVersion => '2.7 .0' ;
72
+ String get codegenVersion => '2.8 .0' ;
73
73
74
74
@override
75
75
int get rustContentHash => 59075464 ;
76
76
77
77
static const kDefaultExternalLibraryLoaderConfig =
78
78
ExternalLibraryLoaderConfig (
79
- stem: 'yttrium_dart ' ,
79
+ stem: 'yttrium ' ,
80
80
ioDirectory: '../yttrium/target/release/' ,
81
81
webPrefix: 'pkg/' ,
82
82
);
@@ -553,10 +553,10 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
553
553
}
554
554
555
555
@protected
556
- StatusResponsePending dco_decode_box_autoadd_status_response_pending (
557
- dynamic raw) {
556
+ StatusResponsePendingObject
557
+ dco_decode_box_autoadd_status_response_pending_object ( dynamic raw) {
558
558
// Codec=Dco (DartCObject based), see doc to use other codecs
559
- return dco_decode_status_response_pending (raw);
559
+ return dco_decode_status_response_pending_object (raw);
560
560
}
561
561
562
562
@protected
@@ -621,7 +621,7 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
621
621
switch (raw[0 ]) {
622
622
case 0 :
623
623
return StatusResponse_Pending (
624
- dco_decode_box_autoadd_status_response_pending (raw[1 ]),
624
+ dco_decode_box_autoadd_status_response_pending_object (raw[1 ]),
625
625
);
626
626
case 1 :
627
627
return StatusResponse_Completed (
@@ -660,12 +660,13 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
660
660
}
661
661
662
662
@protected
663
- StatusResponsePending dco_decode_status_response_pending (dynamic raw) {
663
+ StatusResponsePendingObject dco_decode_status_response_pending_object (
664
+ dynamic raw) {
664
665
// Codec=Dco (DartCObject based), see doc to use other codecs
665
666
final arr = raw as List <dynamic >;
666
667
if (arr.length != 2 )
667
668
throw Exception ('unexpected arr length: expect 2 but see ${arr .length }' );
668
- return StatusResponsePending (
669
+ return StatusResponsePendingObject (
669
670
createdAt: dco_decode_u_64 (arr[0 ]),
670
671
checkIn: dco_decode_u_64 (arr[1 ]),
671
672
);
@@ -811,10 +812,11 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
811
812
}
812
813
813
814
@protected
814
- StatusResponsePending sse_decode_box_autoadd_status_response_pending (
815
- SseDeserializer deserializer) {
815
+ StatusResponsePendingObject
816
+ sse_decode_box_autoadd_status_response_pending_object (
817
+ SseDeserializer deserializer) {
816
818
// Codec=Sse (Serialization based), see doc to use other codecs
817
- return (sse_decode_status_response_pending (deserializer));
819
+ return (sse_decode_status_response_pending_object (deserializer));
818
820
}
819
821
820
822
@protected
@@ -879,7 +881,7 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
879
881
switch (tag_) {
880
882
case 0 :
881
883
var var_field0 =
882
- sse_decode_box_autoadd_status_response_pending (deserializer);
884
+ sse_decode_box_autoadd_status_response_pending_object (deserializer);
883
885
return StatusResponse_Pending (var_field0);
884
886
case 1 :
885
887
var var_field0 =
@@ -912,12 +914,12 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
912
914
}
913
915
914
916
@protected
915
- StatusResponsePending sse_decode_status_response_pending (
917
+ StatusResponsePendingObject sse_decode_status_response_pending_object (
916
918
SseDeserializer deserializer) {
917
919
// Codec=Sse (Serialization based), see doc to use other codecs
918
920
var var_createdAt = sse_decode_u_64 (deserializer);
919
921
var var_checkIn = sse_decode_u_64 (deserializer);
920
- return StatusResponsePending (
922
+ return StatusResponsePendingObject (
921
923
createdAt: var_createdAt, checkIn: var_checkIn);
922
924
}
923
925
@@ -1071,10 +1073,10 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
1071
1073
}
1072
1074
1073
1075
@protected
1074
- void sse_encode_box_autoadd_status_response_pending (
1075
- StatusResponsePending self, SseSerializer serializer) {
1076
+ void sse_encode_box_autoadd_status_response_pending_object (
1077
+ StatusResponsePendingObject self, SseSerializer serializer) {
1076
1078
// Codec=Sse (Serialization based), see doc to use other codecs
1077
- sse_encode_status_response_pending (self, serializer);
1079
+ sse_encode_status_response_pending_object (self, serializer);
1078
1080
}
1079
1081
1080
1082
@protected
@@ -1130,7 +1132,8 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
1130
1132
switch (self) {
1131
1133
case StatusResponse_Pending (field0: final field0):
1132
1134
sse_encode_i_32 (0 , serializer);
1133
- sse_encode_box_autoadd_status_response_pending (field0, serializer);
1135
+ sse_encode_box_autoadd_status_response_pending_object (
1136
+ field0, serializer);
1134
1137
case StatusResponse_Completed (field0: final field0):
1135
1138
sse_encode_i_32 (1 , serializer);
1136
1139
sse_encode_box_autoadd_status_response_completed (field0, serializer);
@@ -1156,8 +1159,8 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
1156
1159
}
1157
1160
1158
1161
@protected
1159
- void sse_encode_status_response_pending (
1160
- StatusResponsePending self, SseSerializer serializer) {
1162
+ void sse_encode_status_response_pending_object (
1163
+ StatusResponsePendingObject self, SseSerializer serializer) {
1161
1164
// Codec=Sse (Serialization based), see doc to use other codecs
1162
1165
sse_encode_u_64 (self.createdAt, serializer);
1163
1166
sse_encode_u_64 (self.checkIn, serializer);
0 commit comments