parse abstract method

T? parse(
  1. String key,
  2. Map<String, dynamic> jsonData
)

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);