toJson method

Map<String, Object?> toJson()

Implementation

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

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