getDecodeList method

List? getDecodeList(
  1. dynamic key
)

get list and decode 常用于 list 嵌套 map

Implementation

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