Course.fromRawJson constructor Null safety

Course.fromRawJson(
  1. String str
)

Implementation

factory Course.fromRawJson(String str) => Course.fromJson(
      json.decode(str) as Map<String, dynamic>,
    );