to method
Implementation
@override
dynamic to(dynamic value) {
try {
if (value == null) return null;
if (value is IconData) return value;
if (value is String) return toIcon(value);
return Exception();
} catch (e) {
return e;
}
}