Failure.platform constructor

const Failure.platform({
  1. required PlatformFailure type,
  2. String? details,
})

Ошибки платформы (MethodChannel, плагины, ОС)

Implementation

const factory Failure.platform({
  required PlatformFailure type,
  String? details,
}) = PlatformAppFailure;