File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1111
1212import 'package:cbor/cbor.dart' ;
1313import 'package:collection/collection.dart' ;
14+ import 'package:meta/meta.dart' ;
1415
1516/// A string of bytes, as used in CBOR ([RFC 7049] (https://datatracker.ietf.org/doc/html/rfc7049)).
1617typedef ByteString = List <int >;
@@ -33,6 +34,11 @@ extension NullableEquals on ByteString? {
3334
3435/// Abstract class intended for data structures which are serializable to CBOR.
3536abstract class CborSerializable {
37+
38+ /// Don't use this. This class was not designed to be extended by clients.
39+ @protected
40+ CborSerializable ();
41+
3642 /// Serializes this instance to a [CborValue] .
3743 CborValue toCborValue ();
3844
Original file line number Diff line number Diff line change 1010 */
1111
1212import 'package:cbor/cbor.dart' ;
13- import 'package:freezed_annotation/freezed_annotation .dart' ;
13+ import 'package:collection/collection .dart' ;
1414
1515import '../cbor.dart' ;
1616import '../constants/cose_key.dart' ;
Original file line number Diff line number Diff line change 1010 */
1111
1212import 'package:cbor/cbor.dart' ;
13- import 'package:freezed_annotation/freezed_annotation.dart' ;
13+ import 'package:collection/collection.dart' ;
14+ import 'package:meta/meta.dart' ;
1415
1516import 'aif.dart' ;
1617import 'cbor.dart' ;
You can’t perform that action at this time.
0 commit comments