toJson method

String toJson()

Implementation

String toJson() {
  return LocalityModelMapper.ensureInitialized()
      .encodeJson<LocalityModel>(this as LocalityModel);
}