BleConnectionFailure constructor
const
BleConnectionFailure({
- required BleConnectionFailureCategory category,
- String? platform,
- int? rawCode,
- String? domain,
- String? description,
Creates a BleConnectionFailure.
- Parameter
category: The normalized failure classification. Required. - Parameter
platform: The reporting host platform identifier, ornullif unknown. - Parameter
rawCode: The raw platform-specific error code, ornullif none was provided. - Parameter
domain: The platform-specific error domain, ornullif none was provided. - Parameter
description: A human-readable description, ornullif none was provided.
Implementation
const BleConnectionFailure({
required this.category,
this.platform,
this.rawCode,
this.domain,
this.description,
});