fromPlatformException static method
Implementation
static FException fromPlatformException(PlatformException e) {
int? code = int.tryParse(e.code);
return code != null
? FException(code, e.message)
: FException(unknown, e.message);
}
static FException fromPlatformException(PlatformException e) {
int? code = int.tryParse(e.code);
return code != null
? FException(code, e.message)
: FException(unknown, e.message);
}