toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (documentation != null) 'documentation': documentation!,
      if (icon != null) 'icon': icon!,
      if (listingCount != null) 'listingCount': listingCount!,
      if (name != null) 'name': name!,
      if (primaryContact != null) 'primaryContact': primaryContact!,
      if (sharingEnvironmentConfig != null)
        'sharingEnvironmentConfig': sharingEnvironmentConfig!,
    };