MoodleTask.fromJson constructor

MoodleTask.fromJson(
  1. Map<String, Object?> json
)

Creates a MoodleTask from a JSON object.

Implementation

factory MoodleTask.fromJson(Map<String, Object?> json) => _$MoodleTaskFromJson(json);