getTableNameFromRecord function Null safety

String getTableNameFromRecord(
  1. Map<String, DataField> record
)

Implementation

String getTableNameFromRecord(Map<String, DataField> record) {
  return record.valueAsString('table_name').fold(() => '', (a) => a);
}