fromJson creates a Display object from a JSON object.
factory Display.fromJson(String source) => Display.fromMap(json.decode(source));