toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiName != null) 'apiName': apiName!,
      if (category != null) 'category': category!,
      if (customDefinition != null) 'customDefinition': customDefinition!,
      if (deprecatedApiNames != null)
        'deprecatedApiNames': deprecatedApiNames!,
      if (description != null) 'description': description!,
      if (uiName != null) 'uiName': uiName!,
    };