create method Null safety

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

'create' 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
Never create() => throw UnsupportedError(
      "'create' is deprecated and shouldn't be used. Creation is now performed automatically when initialising FMTC. This remnant will be removed in a future update.",
    );