toJson method

String toJson()

Implementation

String toJson() {
  return TargetModelMapper.ensureInitialized()
      .encodeJson<TargetModel>(this as TargetModel);
}