ModulesModel.fromJson constructor

ModulesModel.fromJson(
  1. String data
)

dart:convert

Parses the string and returns the resulting Json object as ModulesModel.

Implementation

factory ModulesModel.fromJson(String data) {
  return ModulesModel.fromMap(json.decode(data) as Map<String, dynamic>);
}