BatchingConfigProto.fromJson constructor
BatchingConfigProto.fromJson(
- Object? j
Implementation
factory BatchingConfigProto.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return BatchingConfigProto(
thresholds: switch (json['thresholds']) {
null => null,
Object $1 => BatchingSettingsProto.fromJson($1),
},
batchDescriptor: switch (json['batchDescriptor']) {
null => null,
Object $1 => BatchingDescriptorProto.fromJson($1),
},
);
}