getInfoItemWithString method

String? getInfoItemWithString(
  1. String key
)

根据 key 查找对应的信息

Implementation

String? getInfoItemWithString(String key) {
  final result = info[key];
  return (result is String) ? result : null;
}