addObject method

Future<void> addObject(
  1. Object value
)

Implementation

Future<void> addObject(Object value) async {
  if(gcRunning) {
    return;
  }
  if(Platform.isAndroid || Platform.isIOS){
    // debugPrint('isAndroid or isIos $value');
    _addObjectToList(value);
  } else {
    debugPrint("Platform not yet supported");
  }
}