resetAsync method Null safety

  1. @Deprecated("Prefer 'reset'. This redirect will be removed in a future update")
Future<void> resetAsync()

'resetAsync' is deprecated and shouldn't be used. Prefer reset. This redirect will be removed in a future update.

Implementation

@Deprecated(
  "Prefer 'reset'. This redirect will be removed in a future update",
)
Future<void> resetAsync() => reset();