toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (decommissionDate != null) 'decommissionDate': decommissionDate!,
  if (deprecationDate != null) 'deprecationDate': deprecationDate!,
  if (displayName != null) 'displayName': displayName!,
  if (environment != null) 'environment': environment!,
  if (name != null) 'name': name!,
  if (stage != null) 'stage': stage!,
  if (warnings != null) 'warnings': warnings!,
};