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