toJson method

Map<String, dynamic> toJson()

Implementation

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