CreateSchemaResponse constructor Null safety

CreateSchemaResponse(
  1. {int? status,
  2. WhatIs? whatIs,
  3. Schema? schema}
)

Implementation

factory CreateSchemaResponse({
  $core.int? status,
  $7.WhatIs? whatIs,
  $5.Schema? schema,
}) {
  final _result = create();
  if (status != null) {
    _result.status = status;
  }
  if (whatIs != null) {
    _result.whatIs = whatIs;
  }
  if (schema != null) {
    _result.schema = schema;
  }
  return _result;
}