fromID method

Params fromID(
  1. ID id,
  2. Map<String, dynamic> json
)

Implementation

Params fromID(ID id, Map<String, dynamic> json) {
  final params = _usecaseParams[id];
  if (params == null) {
    throw Exception('UseCaseParams not found for ID: $id');
  }
  return params.fromJson(json);
}