postItem method
Implementation
Future<T?> postItem({
bool autoAuthorize = true,
String tag = '',
List<String>? loadReference,
String function = '',
}) async {
var data = await postItems(autoAuthorize: autoAuthorize, tag: tag, loadReference: loadReference, function: function);
if (data.isEmpty) {
return null;
}
return data[0];
}