getDecodeMap method

Map<String, dynamic>? getDecodeMap(
  1. dynamic key
)

get map and decode 常用于多层map嵌套

Implementation

Map<String, dynamic>? getDecodeMap(dynamic key) {
  final json = getObject<String>(key);
  if (json != null) return jsonDecode(json);
  return null;
}