toJson method

String toJson()

toJson creates a JSON object from the current Display object.

Implementation

String toJson() => json.encode(toMap());