You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -30,11 +30,11 @@ export 'struct.pbenum.dart';
|
||||
/// The JSON representation for `Struct` is JSON object.
|
||||
class Struct extends $pb.GeneratedMessage with $mixin.StructMixin {
|
||||
factory Struct({
|
||||
$pb.PbMap<$core.String, Value>? fields,
|
||||
$core.Iterable<$core.MapEntry<$core.String, Value>>? fields,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (fields != null) {
|
||||
$result.fields.addAll(fields);
|
||||
$result.fields.addEntries(fields);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user