mergeValue method
dynamic
mergeValue(
- dynamic valueA,
- dynamic valueB
Implementation
dynamic mergeValue(dynamic valueA, dynamic valueB) {
if (valueA is String && valueB is String) {
if (valueA.isEmpty) {
return valueB;
}
return valueA;
}
return valueA;
}