You've already forked dart-core-sdk
Release 1.12.3
This commit is contained in:
@@ -42,10 +42,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// if (any.is(Foo.class)) {
|
||||
/// foo = any.unpack(Foo.class);
|
||||
/// }
|
||||
/// // or ...
|
||||
/// if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
||||
/// foo = any.unpack(Foo.getDefaultInstance());
|
||||
/// }
|
||||
///
|
||||
/// Example 3: Pack and unpack a message in Python.
|
||||
///
|
||||
@@ -60,13 +56,10 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// Example 4: Pack and unpack a message in Go
|
||||
///
|
||||
/// foo := &pb.Foo{...}
|
||||
/// any, err := anypb.New(foo)
|
||||
/// if err != nil {
|
||||
/// ...
|
||||
/// }
|
||||
/// any, err := ptypes.MarshalAny(foo)
|
||||
/// ...
|
||||
/// foo := &pb.Foo{}
|
||||
/// if err := any.UnmarshalTo(foo); err != nil {
|
||||
/// if err := ptypes.UnmarshalAny(any, foo); err != nil {
|
||||
/// ...
|
||||
/// }
|
||||
///
|
||||
@@ -76,6 +69,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
||||
/// name "y.z".
|
||||
///
|
||||
///
|
||||
/// JSON
|
||||
/// ====
|
||||
/// The JSON representation of an `Any` value uses the regular
|
||||
@@ -165,8 +159,7 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
|
||||
///
|
||||
/// Note: this functionality is not currently available in the official
|
||||
/// protobuf release, and it is not used for type URLs beginning with
|
||||
/// type.googleapis.com. As of May 2023, there are no widely used type server
|
||||
/// implementations and no plans to implement one.
|
||||
/// type.googleapis.com.
|
||||
///
|
||||
/// Schemes other than `http`, `https` (or the empty scheme) might be
|
||||
/// used with implementation specific semantics.
|
||||
|
||||
Reference in New Issue
Block a user