toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (containers != null) 'containers': containers!,
      if (maxRetries != null) 'maxRetries': maxRetries!,
      if (serviceAccountName != null)
        'serviceAccountName': serviceAccountName!,
      if (timeoutSeconds != null) 'timeoutSeconds': timeoutSeconds!,
      if (volumes != null) 'volumes': volumes!,
    };