formatToString function

String formatToString(
  1. String? field
)

Implementation

String formatToString(String? field) {
  return (field ?? '').trim();
}