toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final compatibleRuntimes = this.compatibleRuntimes;
  final createdDate = this.createdDate;
  final version = this.version;
  return {
    if (compatibleRuntimes != null) 'CompatibleRuntimes': compatibleRuntimes,
    if (createdDate != null) 'CreatedDate': createdDate,
    if (version != null) 'Version': version,
  };
}