BatchingConfigProto.fromJson constructor

BatchingConfigProto.fromJson(
  1. Map json_
)

Implementation

BatchingConfigProto.fromJson(core.Map json_)
  : this(
      batchDescriptor: json_.containsKey('batchDescriptor')
          ? BatchingDescriptorProto.fromJson(
              json_['batchDescriptor'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      thresholds: json_.containsKey('thresholds')
          ? BatchingSettingsProto.fromJson(
              json_['thresholds'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );