toObject<T> method
Convert Object type of Map<String,dynamic> to Object has type of T using function
convert
Implementation
T? toObject<T>(T Function(Map<String, dynamic>? json) convert) {
if (this == null) return null;
final Map<String, dynamic> inputMap = this!;
return convert(inputMap);
}