commit method Null safety

  1. @Deprecated('This method is now a no-op, and should no longer be called.')
Future<bool> commit()
@Deprecated('This method is now a no-op, and should no longer be called.')

Always returns true. On iOS, synchronize is marked deprecated. On Android, we commit every set.

Implementation

@Deprecated('This method is now a no-op, and should no longer be called.')
Future<bool> commit() async => true;