fold<R> method
Implementation
R fold<R>(R Function(String ref) onRef, R Function(T) on) {
if (ref != null) {
return onRef(ref!);
} else {
return on(this as T);
}
}
R fold<R>(R Function(String ref) onRef, R Function(T) on) {
if (ref != null) {
return onRef(ref!);
} else {
return on(this as T);
}
}