Creates an instance from json.
Model.fromJson(Map<String, dynamic> json) : id = json[idKey], userId = json[userIdKey], data = json[dataKey];