PlatformChannelError.fromJson constructor
- Map<
String, dynamic> json
Alternate constructor that creates a PlatformChannelError from a json.
Params:
- json: contains the source for instance creation.
Implementation
factory PlatformChannelError.fromJson(
Map<String, dynamic> json,
) {
return const PlatformChannelErrorConverter().fromJson(json);
}