setResourceValues method

  1. @override
Future<void> setResourceValues(
  1. String path,
  2. FileResourceValues values
)
override

Writes the non-null fields of values to the item at path.

Implementation

@override
Future<void> setResourceValues(String path, FileResourceValues values) {
  return _call(path, () async {
    await methodChannel.invokeMethod<void>(
        'setResourceValues', {'path': path, 'values': values.toMap()});
  });
}