fromObject static method
Implementation
static SyneriseError fromObject(dynamic error) {
if (error is PlatformException) {
return SyneriseError.fromException(error);
}
return SyneriseError.unknownError(error);
}
static SyneriseError fromObject(dynamic error) {
if (error is PlatformException) {
return SyneriseError.fromException(error);
}
return SyneriseError.unknownError(error);
}