generateMetaData<RequestType extends TrayRequest, MetadataType extends TrayRequestMetadata> method
dynamic
generateMetaData<RequestType extends TrayRequest, MetadataType extends TrayRequestMetadata>(
- RequestType request,
- dynamic responseJson
Implementation
dynamic generateMetaData<RequestType extends TrayRequest,
MetadataType extends TrayRequestMetadata>(
RequestType request, dynamic responseJson) {
// just return default data and throw warning
log(
// ignore: unnecessary_this
'Please implement the generateMetaData method in your request ${this.toString()} $url, to provide metadata information.',
name: 'fetch_tray',
);
return null;
}