parse abstract method
Parse the provided JSON data into a model of type T using the given key.
-
Parameters:
- key: The key associated with the JSON data.
- jsonData: A Map containing the JSON data to parse.
-
Returns: A parsed model of type T or null if parsing fails.
Implementation
T? parse(String key, Map<String, dynamic> jsonData);