CompileSuggestionResponse constructor

CompileSuggestionResponse({
  1. Suggestion? suggestion,
  2. String? latestMessage,
  3. int? contextSize,
})

Implementation

factory CompileSuggestionResponse({
  Suggestion? suggestion,
  $core.String? latestMessage,
  $core.int? contextSize,
}) {
  final _result = create();
  if (suggestion != null) {
    _result.suggestion = suggestion;
  }
  if (latestMessage != null) {
    _result.latestMessage = latestMessage;
  }
  if (contextSize != null) {
    _result.contextSize = contextSize;
  }
  return _result;
}