ModulesResponseBody.fromMap constructor
Implementation
ModulesResponseBody.fromMap(Map<String, Object?> obj)
: modules = (obj['modules'] as List)
.map((item) => Module.fromJson(item as Map<String, Object?>))
.toList(),
totalModules = obj['totalModules'] as int?;