toJson method

String toJson(
  1. String fileUrl
)

Encodes all mappings added to this builder as a json string.

Implementation

String toJson(String fileUrl) => jsonEncode(build(fileUrl));