toJson method

String toJson()

Implementation

String toJson() {
  return UserModelMapper.ensureInitialized()
      .encodeJson<UserModel>(this as UserModel);
}