core.Map<core.String, core.dynamic> toJson() => { if (importStateEndpoint != null) 'importStateEndpoint': importStateEndpoint!, if (snapshotId != null) 'snapshotId': snapshotId!, };