toJson method

String toJson()

Convierte la instancia a JSON (String).

Implementation

String toJson() => jsonEncode(toMap());