toJson method

String toJson()

Returns JSON representation of the elmenet

Implementation

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