parseItem<T> method
Implementation
T? parseItem<T>(String key, [T? Function(Map<String, dynamic> map)? parser]) {
try {
return (this == null || this?[key] == null)
? null
: (parser?.call(this![key]) ?? this![key]);
} catch (e) {
debugPrint(e.toString());
return null;
}
}