toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var moduleKey = this.moduleKey;
  var title = this.title;
  var uri = this.uri;

  final json = <String, Object?>{};
  if (moduleKey != null) {
    json[r'moduleKey'] = moduleKey;
  }
  json[r'title'] = title;
  if (uri != null) {
    json[r'uri'] = uri;
  }
  return json;
}