toJson method

String toJson()

Implementation

String toJson() {
  return NameSearchModelMapper.ensureInitialized()
      .encodeJson<NameSearchModel>(this as NameSearchModel);
}