Bean.fromJson constructor

Bean.fromJson(dynamic jsonObject)

Implementation

Bean.fromJson(jsonObject) {
  data = json.decode(jsonObject);
}