toJson method

String toJson({
  1. bool withIndent = true,
})

Converts this ANN to an encoded JSON.

Implementation

String toJson({bool withIndent = true}) =>
    encodeJSON(toJsonMap(), withIndent: withIndent);