list property
List?
get
list
转换为一个可能为空的Array类型
Implementation
List<dynamic>? get list {
if (rawValue is String) {
var decodeResult;
try {
decodeResult = jsonDecode(rawValue);
} catch (e) {}
if (decodeResult == null) return null;
return SDartJson(decodeResult).list;
}
if (rawValue is! List<dynamic>) return null;
return rawValue;
}