representation property Null safety

  1. @override
APISchemaRepresentation representation

Implementation

@override
APISchemaRepresentation get representation {
  if (properties != null) {
    return APISchemaRepresentation.structure;
  }

  return super.representation;
}