documentSchema method Null safety
- APIDocumentContext context
Returns an APISchemaObject describing this object's type.
The returned APISchemaObject will be of type APIType.object. By default, each instance variable
of the receiver's type will be a property of the return value.
Implementation
APISchemaObject documentSchema(APIDocumentContext context) {
return (RuntimeContext.current[runtimeType] as SerializableRuntime)
.documentSchema(context);
}