PlatformChannelException.fromMap constructor
- {required Map<
String, dynamic> errorMap}
Alternate constructor that creates a PlatformChannelException from a map.
Params:
- errorMap: contains the source for instance creation.
Implementation
PlatformChannelException.fromMap({required Map<String, dynamic> errorMap})
: super(error: PlatformChannelError.fromJson(errorMap));