of static method
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;
}