ModelLess.fromJson constructor

ModelLess.fromJson(
  1. String jsonString
)

making a new model from a json string

Implementation

factory ModelLess.fromJson(String jsonString) {
  return ModelLess.fromMap(json.decode(jsonString));
}