of static method

String of(
  1. Map<String, dynamic> result
)

The result type of result, treating an absent field as complete (backward compatibility with earlier revisions).

Implementation

static String of(Map<String, dynamic> result) {
  final v = result[key];
  return v is String ? v : complete;
}