getAsCode function
Implementation
String getAsCode(value) {
final result = tryGetAsCode(value);
if (result != null) {
return result;
}
throw StateError('Unsupported type: ${value.runtimeType}');
}
String getAsCode(value) {
final result = tryGetAsCode(value);
if (result != null) {
return result;
}
throw StateError('Unsupported type: ${value.runtimeType}');
}