createAsync method Null safety

  1. @Deprecated('Creation is now performed automatically when initialising FMTC. This remnant will be removed in a future update')
  2. @alwaysThrows
Future<Never> createAsync()

'createAsync' is deprecated and shouldn't be used. Creation is now performed automatically when initialising FMTC. This remnant will be removed in a future update.

Implementation

@Deprecated(
  'Creation is now performed automatically when initialising FMTC. This remnant will be removed in a future update',
)
@alwaysThrows
Future<Never> createAsync() async => throw UnsupportedError(
      "'createAsync' is deprecated and shouldn't be used. Creation is now performed automatically when initialising FMTC. This remnant will be removed in a future update.",
    );