extractBasic method
Implementation
void extractBasic(Map<String, dynamic> document) {
//document ??= <String, Object>{};
var documentOk = document[keyOk];
if (documentOk is int) {
ok = documentOk.toDouble();
} else {
ok = documentOk as double;
}
errmsg = document[keyErrmsg] as String?;
code = document[keyCode] as int?;
codeName = document[keyCodeName] as String?;
}