TaskApi.fromJson constructor

TaskApi.fromJson(
  1. Map<String, dynamic> jsonMap
)

Implementation

factory TaskApi.fromJson(Map<String, dynamic> jsonMap) {
  final model = TaskApi(jsonMap["method"], jsonMap["params"]);
  return model;
}