PlatformChannelException.fromMap constructor
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));