ModulesModel.fromMap constructor
Implementation
factory ModulesModel.fromMap(Map<String, dynamic> data) => ModulesModel(
totalcount: data['totalcount'] as int?,
data: (data['data'] as List<dynamic>?)
?.map((e) => ModuleDatum.fromMap(e as Map<String, dynamic>))
.toList(),
);