Display.fromJson constructor

Display.fromJson(
  1. String source
)

fromJson creates a Display object from a JSON object.

Implementation

factory Display.fromJson(String source) =>
    Display.fromMap(json.decode(source));