delete method

Future<void> delete (
  1. {@required String key,
  2. IOSOptions iOptions,
  3. AndroidOptions aOptions}
)

Deletes associated value for the given key.

key shoudn't be null. iOptions optional iOS options aOptions optional Android options Can throw a PlatformException.

Implementation

Future<void> delete({@required String key, IOSOptions iOptions, AndroidOptions aOptions}) =>
    _channel.invokeMethod('delete', <String, dynamic>{'key': key, 'options': _selectOptions(iOptions, aOptions)});